package com.bbcare.oms.plat.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Entity;


@Entity
public class Account
  implements Serializable
{
  private static final long serialVersionUID = 1L;
  private String id;
  private String username;
  private String password;
  private String alias;
  private List<Group> groups;
  private List<AccountApplication> apps;
  private String sessionID;
  private Account author;
  private Date createTime;
  private int type;
  private String relationId;
  private String refTenantId;
  private String role;

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public String getRefTenantId() {
    return refTenantId;
  }

  public void setRefTenantId(String refTenantId) {
    this.refTenantId = refTenantId;
  }

  public String getId()
  {
/*  56 */     return this.id;
  }
  
  public void setId(String id) {
/*  60 */     this.id = id;
  }
  
  public String getUsername() {
/*  64 */     return this.username;
  }
  
  public void setUsername(String username) {
/*  68 */     this.username = username;
  }
  
  public String getPassword() {
    return this.password;
  }
  
  public void setPassword(String password) {
/*  76 */     this.password = password;
  }
  
  public String getAlias() {
/*  80 */     return this.alias;
  }
  
  public void setAlias(String alias) {
/*  84 */     this.alias = alias;
  }
  
  public String getSessionID() {
/*  88 */     return this.sessionID;
  }
  
  public void setSessionID(String sessionID) {
/*  92 */     this.sessionID = sessionID;
  }
  









  public List<Group> getGroups()
  {
/* 106 */     return this.groups;
  }
  
  public void setGroups(List<Group> groups) {
/* 110 */     this.groups = groups;
  }
  
  public List<AccountApplication> getApps() {
/* 114 */     return this.apps;
  }
  
  public void setApps(List<AccountApplication> apps) {
/* 118 */     this.apps = apps;
  }
  
  public Account getAuthor() {
/* 122 */     return this.author;
  }
  
  public void setAuthor(Account author) {
/* 126 */     this.author = author;
  }
  
  public Date getCreateTime() {
/* 130 */     return this.createTime;
  }
  
  public void setCreateTime(Date createTime) {
/* 134 */     this.createTime = createTime;
  }
  
  public int getType() {
/* 138 */     return this.type;
  }
  
  public void setType(int type) {
/* 142 */     this.type = type;
  }
  
  public String getRelationId() {
/* 146 */     return this.relationId;
  }
  
  public void setRelationId(String relationId) {
/* 150 */     this.relationId = relationId;
  }
}


